<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../img/base.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/jquery-1.8.2.min.js"></script>
<script language="javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<script language="javascript">
</script>
</head>
<body leftmargin='15' topmargin='10' bgcolor="#FFFFFF">
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" style="border-bottom:1px solid #CCCCCC">
	<tr>
    	<td align='center' valign='top' colspan="2">
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA">
                <tr>
                    <td height="26" background="../img/newlinebg3.gif">
                        <table width="98%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="right">
                                    <input type='button' class="coolbg np" onClick="location='price_scope.php?cinema_id=<{$cinema_id}>';" value='返回' />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
    	<td>
        	<table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr bgcolor="#FFFFFF">
                    <td height="4"></td>
                </tr>
            </table>
        </td>
    </tr>
  	<tr>
    	<td colspan="2">
      		<table width="800" border="0" cellpadding="0" cellspacing="0">
        		<tr>
          			<td width="84" height="24" align="center" background="../img/itemnote1.gif">
                    <{if $op == 'add'}>
						添加票价规则
					<{else if $op == 'modify'}>
						修改票价规则
                    <{/if}>
                    </td>
          			<td width="84"></td>
          			<td>&nbsp;</td>
        		</tr>
      		</table>
    	</td>
	</tr>
</table>
<form name="form1" action="price_scope.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<table width="98%"  border="0" align="center" cellpadding="2" cellspacing="2" id="needset">
	<tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;渠道：</td>
          			<td width="392">
                    <select name="purchase_way">
                    <{foreach item=purchase from=$purchase_list}>
                    <option value="<{$purchase.purchase_way}>" <{if $purchase_info.purchase_way == $purchase.purchase_way}> selected=selected <{/if}>><{$purchase.purchase_name}></option>
                    <{/foreach}>
                    </select>
                    </td>
        		</tr> 
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;票价类型：</td>
          			<td width="392">
                    <select name="price_type">
                    <option value="lowest" <{if $purchase_info.type == lowest}> selected=selected <{/if}>>最低限价</option>
                    <option value="settle" <{if $purchase_info.type == settle}> selected=selected <{/if}>>结算价</option>
                    <option value="sale" <{if $purchase_info.type == sale}> selected=selected <{/if}>>销售价</option>
                    </select>
                    </td>
        		</tr> 
      		</table>      
    	</td>
  	</tr>
	<tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;2D：</td>
          			<td width="392">
                    <input name="min_2d" type="text" id="min_2d" size="10" class="iptxt" value="<{$purchase_info.min_2d}>" />&nbsp;-&nbsp;
                    <input name="max_2d" type="text" id="max_2d" size="10" class="iptxt" value="<{$purchase_info.max_2d}>" />
                    </td>
        		</tr> 
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;3D：</td>
          			<td width="392">
                    <input name="min_3d" type="text" id="min_3d" size="10" class="iptxt" value="<{$purchase_info.min_3d}>" />&nbsp;-&nbsp;
                    <input name="max_3d" type="text" id="max_3d" size="10" class="iptxt" value="<{$purchase_info.max_3d}>" />
                    </td>
        		</tr>
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;4D：</td>
          			<td width="392">
                    <input name="min_4d" type="text" id="min_4d" size="10" class="iptxt" value="<{$purchase_info.min_4d}>" />&nbsp;-&nbsp;
                    <input name="max_4d" type="text" id="max_4d" size="10" class="iptxt" value="<{$purchase_info.max_4d}>" />
                    </td>
        		</tr>
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;dmax：</td>
          			<td width="392">
                    <input name="min_dmax" type="text" id="min_dmax" size="10" class="iptxt" value="<{$purchase_info.min_dmax}>" />&nbsp;-&nbsp;
                    <input name="max_dmax" type="text" id="max_dmax" size="10" class="iptxt" value="<{$purchase_info.max_dmax}>" />
                    </td>
        		</tr>
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="470" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;imax：</td>
          			<td width="392">
                    <input name="min_imax" type="text" id="min_imax" size="10" class="iptxt" value="<{$purchase_info.min_imax}>" />&nbsp;-&nbsp;
                    <input name="max_imax" type="text" id="max_imax" size="10" class="iptxt" value="<{$purchase_info.max_imax}>" />
                    </td>
        		</tr>
      		</table>      
    	</td>
  	</tr>
    <tr>
    	<td height="24" class="bline">
      		<table width="800" border="0" cellspacing="0" cellpadding="0">
                <tr>
          			<td width="78">&nbsp;状态：</td>
          			<td width="722">
                    <input type="radio" value="1" <{if $purchase_info.status == 1}>checked="checked" <{/if}> name="status" /> 启用
                    <input type="radio" value="0" <{if $purchase_info.status == 0 || $purchase_info.status==''}>checked="checked" <{/if}> name="status" /> 禁用
                    </td> 
        		</tr>
      		</table>      
    	</td>
  	</tr>
</table>

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    	<td height="56">
			<table width="98%" border="0" cellspacing="1" cellpadding="1">
        		<tr>
          			<td align="center">
          				<table width="214" border="0" cellspacing="0" cellpadding="0" >
              				<tr>
				                <td width="115">
                                	<input type="hidden" name="cinema_id" value="<{$cinema_id}>" />	
                                	<input type="hidden" name="op" value="save" />
                                    <{if $action == 'update'}>
                                    	<input type="hidden" name="action" value="update" />
                                        <input type="hidden" name="scope_id" value="<{$purchase_info.scope_id}>" />
                                    <{/if}>
				                    <input name="imageField" type="image" src="../img/button_ok.gif" width="60" height="22" class="np" border="0"  style="cursor:pointer; ">
				                </td>
				                <td width="99">
				                	<img src="../img/button_reset.gif" width="60" height="22" border="0" onClick="location.reload();" style="cursor:pointer; ">
				                </td>
			              	</tr>
						</table>
					</td>
    			</tr>
			</table>
		</td>
	</tr>
</table>
</form>
</body>

</html>